package com.mhwx.mhlive.presenter;

import android.content.Context;

import com.mhwx.mhlive.view.SearchView;


/**
 * 类功能描述
 *
 * @author Guol
 * @version 1.0
 * @copyright 北京明华维新信息技术有限公司
 * @time 2017/4/26
 */
public class SearchPresenter  extends BasePresenter {
     private SearchView view;
    private Context context;

    public SearchPresenter(SearchView view, Context context){
         this.view=view;
    }

    public void getDate(){
        view.showLoading();
        view.getDate();
    }
    public void closeLoading(){
        view.closeLoading();
    }
}
